Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


SetGXShape

Mac OS

The SetGXShape method modifies this shape to make it equivalent to the specified QuickDraw GX shape.

void SetGXShape (in ODgxShape s);
s
A QuickDraw GX shape object of type rectangle, polygon, path, empty, or full.
DISCUSSION
Before calling this method, you must ensure that QuickDraw GX is installed. After this method executes successfully, the QuickDraw GX shape is owned by this shape; you cannot modify it or deallocate its storage.

This method calls the SetPlatformShape method to assign the shape.

EXCEPTIONS
kODErrInvalidGraphicsSystem
The QuickDraw GX graphics system is not installed or available.
kODErrInvalidPlatformShape
This shape's type is not one of polygon, rectangle, path, empty, or full.
kODErrOutOfMemory
There is not enough memory to assign the QuickDraw GX shape.
SEE ALSO
The ODgxShape type (page 884).
The ODShape::GetGXShape method (page 638).
The ODShape::SetPlatformShape method (page 650).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help